import textmagic.client

def send(phone_num, msg):
    client = textmagic.client.TextMagicClient('brenden', 'angry2000')
    result = client.send(msg, phone_num)
    message_id = result['message_id'].keys()[0]
    
    response = client.message_status(message_id)
    status = response[message_id]['status']
    print '--------------------'
    print status
    return status